//分级接口
import request from '@/utils/request'

//分级列表
export function categoryLevel(data) {
    return request({
        url: '/backend/category/level/list',
        method: 'post',
        data
    })
}
//添加分级
export function categoryAdd(data) {
    return request({
        url: '/backend/category/add',
        method: 'post',
        data
    })
}
//删除分级
export function categoryDelete(data) {
    return request({
        url: '/backend/category/delete',
        method: 'post',
        data
    })
}

